#!/usr/local/bin/python
# -*- coding: utf-8 -*-
from django.contrib import admin
from models import *

class ParamActiviteDefAdmin(admin.ModelAdmin):
    pass
admin.site.register(ParamActiviteDef, ParamActiviteDefAdmin)

class ParamMembreDefAdmin(admin.ModelAdmin):
    pass
admin.site.register(ParamMembreDef, ParamMembreDefAdmin)

class MailTemplateAdmin(admin.ModelAdmin):
    list_display=('type', 'actif', 'user', 'group')
    list_filter = ('actif', 'type')
admin.site.register(MailTemplate, MailTemplateAdmin)

# ParamActivite, edit_inline=True, num_in_admin=4, min_num_in_admin=2, num_extra_on_change=1

# ParamMembre, edit_inline=True, num_in_admin=4, min_num_in_admin=2, num_extra_on_change=1